package cc.linker.steplink.crm.dao;

import cc.linker.steplink.crm.domain.ScoreAct;
import org.apache.ibatis.annotations.Param;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

public interface ScoreActDao {

    List<Map<String, Object>> listScoreAct(Map map);

    int addScoreAct(Map record);

    int deleteScoreAct(String scoreActId);

    HashMap<String, Object> getScoreActInfo(String scoreActId);

    void editScoreAct(Map record);

    List<ScoreAct> listScoreActAll(String type);

    Map<String, Object> getInfo(String scoreactId);

    Map<String, Object> getGoods(String goodsId);

    void changeStatus(Map<String, Object> map);

    List<Map<String, Object>> getGrowTaskList(@Param("type") String type, @Param("orgId") String orgId);

    List<Map<String, Object>> getCustomList(Map<String, Object> param);

    List<Map<String, Object>> getScoreActList(@Param("orgId") String orgId, @Param("type") String type, @Param("activeType") String activeType);

    List<Map<String, Object>> getScoreActAllList(String orgId);

    int countScoreAct(Map<String, Object> map);

    int countScoreActBase(Map<String, Object> map);

    List<Map<String, Object>> getScoreAllList();


}